package com.itheima02.dao;

import com.itheima02.domain.Student;


import java.io.IOException;
import java.util.List;

public interface StudentInterface {
    //查询所有
    public List findAll() throws IOException;
//插入信息
    public void insert(Student stu) throws IOException;
//删除信息
    public void delete(String id) throws IOException;
//修改信息
    public void update(Student stu) throws IOException;
//根据id找到信息
    public Student findById(String id) throws IOException;
}
